package cn.com.jinhao.provider.user.entity;

import cn.com.jinhao.hotline.commons.base.oracle.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * HotLine
 * <p>Description: 用户角色关联信息</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2019/11/28
 * @since 2019-11-28
 */
@ToString
@Data
@Table(name = "SR$OPER_ROLE")
@ApiModel(value = "OperRole", description = "用户角色关联信息")
public class OperRole extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1217933842157081634L;

    @Column(name = "ST$OPER_CODE")
    @ApiModelProperty(name = "用户编码")
    private String userCode;

    @Column(name = "ST$ROLE_CODE")
    @ApiModelProperty(name = "角色编码")
    private String roleCode;
}
